﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine(2 | 4 | 16);
            Console.WriteLine(22 & 2);
            Console.WriteLine(22 & 4);
            Console.WriteLine(22 & 8);
            Console.ReadLine();
        }
    }
}
